import { http } from '@/utils/http/axios';

const prefix = '/admin/hosp/schedule';
/**
 * @description 分组分页查询排班信息
 */
export function getScheduleGruops(params) {
  return http.request({
    url: `${prefix}/query/group`,
    method: 'GET',
    params
  })
}

/**
 * @description 根据时间等参数查询排班数据
 */
export function getScheduleList(params) {
  return http.request({
    url: `${prefix}/list`,
    method: 'GET',
    params
  })
}
